package com.jichangxiu.system.entity.bo;

import com.jichangxiu.system.entity.dto.SysUserRoleDto;
import com.jichangxiu.system.entity.po.SysUserRole;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * SysUserRoleBo:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:45:05
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@AutoMappers({
        @AutoMapper(target = SysUserRole.class, reverseConvertGenerate = false),
        @AutoMapper(target = SysUserRoleDto.class, reverseConvertGenerate = false)
})
public class SysUserRoleBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 角色ID
     */
    private String roleId;

}